home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 023a / fm40.zip / LESSON3.FRM (.txt) < prev    next >
Form Master Form  |  1991-09-25  |  5KB  |  63 lines

  1. Lesson 3 - Lines And Boxes
  2. Steps for building a form:
  3. 1.  Design your form on paper.
  4. 2.  Enter text onto blank form (Lesson 1)
  5. 3.  Add input fields to form (Lesson 2)
  6. 4.  Add borders to your form (Lesson 3)
  7.  You are here  
  8. 5.  Add special printer control functions (Lesson 4)
  9. You should proceed through these lessons in order.  If you make any mistakes  
  10. just reload the form and begin editing again.
  11.   Press PgDn
  12. Drawing Lines
  13. Move the cursor to the '1' below.  Press F3 twice.  Move the cursor to
  14. the '2' below.  Press F4 twice.  Move the cursor to the '3' below.  Press 
  15. F3, enter a 2, press F3 again.  Move the cursor to the '4' below.  Press  
  16. F4 twice.
  17. F3 marks the starting point of a line using the cursor position.  By
  18. moving the cursor to a new position, either on the same line or column
  19. and using F4, you draw a line.  Note that two line styles are supported.  
  20. Now press F3, enter 3, and press F3 again.  Move to the other end of the  
  21. line and press F4 twice.  This is how to erase lines.
  22.   Press PgDn
  23. Boxes
  24. Move the cursor to the '1' below, press F3, enter 2, and press F3 again.  
  25. Move the it to the '2' and press F4 twice.  Now move it to the '3' and
  26. press F4 twice again.
  27. Boxes are drawn instead of lines if the cursor is in a different row AND  
  28. column while using F4 than it was when you used F3.  Note how the editor  
  29. will attempt to connect all lines and boxes which meet, even those of
  30. different styles.  To erase, press F3, enter 3, and press F3.  Then
  31. move to the opposite corner of the box and press F4 twice.  Removal of
  32. the remaining half box is left as an exercise.
  33.   Press PgDn
  34. The shifted function keys will type parts of boxes and lines.  To view
  35. these press F1 (see SPECIAL BORDER CHARACTERS), then ESC to return here.  
  36. You can draw a box using only the shift-function keys (but F3 and F4 are  
  37. much faster).  Likewise, you can use the control-function keys to draw
  38. double line boxes and lines.  The only item not provided by the function  
  39. keys are crossing lines, '
  40. ' and '
  41. '.  You must use the F2 menu and F10
  42. to draw these characters (Lesson 4).
  43. Using Special Attributes
  44. Press F8.  Move the cursor to the '1' below, press F3, enter 1, and
  45. press F3 again.  Move the cursor to the '2' below and press F4 twice.
  46. Drawing a box or line always uses the current attribute.  Erase always
  47. clears to the background portion of the current attribute.
  48.   Press PgDn
  49. Putting a Border Around Your Form
  50. Use the HOME key to position the cursor to line 1, column 1.  Then use F3 
  51. to mark the starting point.  Move the cursor to the last line and column  
  52. of your form and use F4 to place a border around your form.  Make sure
  53. you have no text on the first and last lines, or on the first and last
  54. columns as these characters will be overwritten.
  55.  End of Lesson 3 
  56. ed when you're executing the form.
  57. Use F2 to define other attributes.  Use F7 to switch to white characters  
  58. on a black background, F8 to switch to black on white, and F9 to switch
  59. to the attribute defined by F2 menu.  The top line will show what is the  
  60. current attribute:
  61. Current Attr: 70
  62. Move to right side of this form and practice.
  63.